package com.punch.common.dto.system.semester;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * SemesterDTO-学期新增表单
 *
 * @author wujj
 * @version 1.0.0
 * @since 2020/11/25 19:31
 */
@Data
@ApiModel(description = "学期新增表单")
public class SemesterDTO implements Serializable {

    @ApiModelProperty(name = "semesterId", notes = "学期id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long semesterId;

    @ApiModelProperty(name = "semesterName", notes = "学期名称")
    private String semesterName;
    /**
     * 学期开始日期
     */
    private LocalDateTime semesterStart;

    /**
     * 学期结束日期
     */
    private LocalDateTime semesterEnd;
}
